home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / sgi_getclearancebyname.z / sgi_getclearancebyname
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSGGGGIIII____GGGGEEEETTTTCCCCLLLLEEEEAAAARRRRAAAANNNNCCCCEEEEBBBBYYYYNNNNAAAAMMMMEEEE((((3333CCCC))))                          SSSSGGGGIIII____GGGGEEEETTTTCCCCLLLLEEEEAAAARRRRAAAANNNNCCCCEEEEBBBBYYYYNNNNAAAAMMMMEEEE((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      sgi_getclearancebyname - get the default and allowed mac label range for
  10.      a named user
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<cccclllleeeeaaaarrrraaaannnncccceeee....hhhh>>>>
  14.  
  15.      ssssttttrrrruuuucccctttt cccclllleeeeaaaarrrraaaannnncccceeee ****ssssggggiiii____ggggeeeettttcccclllleeeeaaaarrrraaaannnncccceeeebbbbyyyynnnnaaaammmmeeee((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****nnnnaaaammmmeeee))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      Return the default and allowed mac label ranges for the user _n_a_m_e.  The
  19.      routine uses the NIS map cccclllleeeeaaaarrrraaaannnncccceeee....bbbbyyyynnnnaaaammmmeeee if NIS is active,
  20.       otherwise it uses the local clearance file, ////eeeettttcccc////cccclllleeeeaaaarrrraaaannnncccceeee.
  21.  
  22. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  23.      The routine returns a pointer to an allocated _s_t_r_u_c_t _c_l_e_a_r_a_n_c_e. This
  24.      structure and its components (_c_a_p->_c_l__n_a_m_e, _c_a_p->_c_l__d_e_f_a_u_l_t and _c_a_p-
  25.      >_c_l__a_l_l_o_w_e_d) have been allocated by the routine with _m_a_l_l_o_c(3c) and
  26.      should be released with _f_r_e_e(3c) when no longer needed.
  27.  
  28.      If errors are encountered, or the specified user name could not be found,
  29.      NULL is returned.
  30.  
  31. EEEERRRRRRRROOOORRRRSSSS
  32.      ENOSYS          MAC is not enabled.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      clearance(4)
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.